package com.ruoyi.ncpsy.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 喷洒农药记录对象 ncpsy_pesticide_crop
 * 
 * @author ruoyi
 * @date 2025-08-29
 */
public class NcpsyPesticideCrop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long pesticideCropId;

    /** 作物事件ID */
    @Excel(name = "作物事件ID")
    private Long cropEventId;

    /** 农药ID */
    private String pesticideId;

    /** 施药面积 */
    private BigDecimal applicationArea;

    /** 施药方法 */
    private String applicationMethod;

    /** 施药人 */
    @Excel(name = "施药人")
    private String applicator;

    /** 施药日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "施药日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 药效反馈 */
    private String efficacyFeedback;

    /** 状态(有效，作废) */
    @Excel(name = "状态(有效，作废)")
    private String status;

    /** 喷药图片 */
    @Excel(name = "喷药图片")
    private String sprayImg;

    /** 交易哈希 */
    private String hash;

    private int userId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setPesticideCropId(Long pesticideCropId)
    {
        this.pesticideCropId = pesticideCropId;
    }

    public Long getPesticideCropId() 
    {
        return pesticideCropId;
    }

    public void setCropEventId(Long cropEventId) 
    {
        this.cropEventId = cropEventId;
    }

    public Long getCropEventId() 
    {
        return cropEventId;
    }

    public void setPesticideId(String pesticideId) 
    {
        this.pesticideId = pesticideId;
    }

    public String getPesticideId() 
    {
        return pesticideId;
    }

    public void setApplicationArea(BigDecimal applicationArea) 
    {
        this.applicationArea = applicationArea;
    }

    public BigDecimal getApplicationArea() 
    {
        return applicationArea;
    }

    public void setApplicationMethod(String applicationMethod) 
    {
        this.applicationMethod = applicationMethod;
    }

    public String getApplicationMethod() 
    {
        return applicationMethod;
    }

    public void setApplicator(String applicator) 
    {
        this.applicator = applicator;
    }

    public String getApplicator() 
    {
        return applicator;
    }

    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }

    public void setEfficacyFeedback(String efficacyFeedback) 
    {
        this.efficacyFeedback = efficacyFeedback;
    }

    public String getEfficacyFeedback() 
    {
        return efficacyFeedback;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSprayImg(String sprayImg) 
    {
        this.sprayImg = sprayImg;
    }

    public String getSprayImg() 
    {
        return sprayImg;
    }

    public void setHash(String hash) 
    {
        this.hash = hash;
    }

    public String getHash() 
    {
        return hash;
    }

    @Override
    public String toString() {
        return "NcpsyPesticideCrop{" +
                "pesticideCropId=" + pesticideCropId +
                ", cropEventId=" + cropEventId +
                ", pesticideId='" + pesticideId + '\'' +
                ", applicationArea=" + applicationArea +
                ", applicationMethod='" + applicationMethod + '\'' +
                ", applicator='" + applicator + '\'' +
                ", applicationDate=" + applicationDate +
                ", efficacyFeedback='" + efficacyFeedback + '\'' +
                ", status='" + status + '\'' +
                ", sprayImg='" + sprayImg + '\'' +
                ", hash='" + hash + '\'' +
                ", userId=" + userId +
                '}';
    }
}
